inherited dtmda_Employee: Tdtmda_Employee
  OldCreateOrder = True
  Top = 414
  Height = 362
  Width = 480
  inherited adsMaster: TADODataSet
    CommandText = 
      'Select * from V_da_Employee '#13#10'where isnull(HasStop,0)=0'#13#10'order b' +
      'y EmpID'
    object adsMasterEmpID: TStringField
      DisplayLabel = #24037#21495
      FieldName = 'EmpID'
    end
    object adsMasterEmpName: TStringField
      DisplayLabel = #22995#21517
      FieldName = 'EmpName'
    end
    object adsMasterHelperCode: TStringField
      DisplayLabel = #21161#35760#30721
      FieldName = 'HelperCode'
      Size = 10
    end
    object adsMasterFactoryCardNo: TStringField
      DisplayLabel = #21378#29260#21495
      FieldName = 'FactoryCardNo'
    end
    object adsMasterSex: TStringField
      DisplayLabel = #24615#21035
      FieldName = 'Sex'
      Size = 2
    end
    object adsMasterstature: TFloatField
      DisplayLabel = #36523#39640
      FieldName = 'stature'
    end
    object adsMastereyesight: TFloatField
      DisplayLabel = #35270#21147
      FieldName = 'eyesight'
    end
    object adsMasternation: TStringField
      DisplayLabel = #27665#26063
      FieldName = 'nation'
      Size = 10
    end
    object adsMasterNativePlace: TStringField
      DisplayLabel = #31821#36143
      FieldName = 'NativePlace'
      Size = 100
    end
    object adsMasterage: TIntegerField
      DisplayLabel = #24180#40836'('#21608#23681')'
      FieldName = 'age'
      ReadOnly = True
    end
    object adsMasterBirthday: TDateTimeField
      DisplayLabel = #20986#29983#26085#26399
      FieldName = 'Birthday'
    end
    object adsMasterIdCardNO: TStringField
      DisplayLabel = #36523#20221#35777#21495
      FieldName = 'IdCardNO'
      Size = 18
    end
    object adsMasterAddress: TStringField
      DisplayLabel = #23478#24237#22320#22336
      FieldName = 'Address'
      Size = 80
    end
    object adsMasterPhone: TStringField
      DisplayLabel = #32852#31995#30005#35805
      FieldName = 'Phone'
    end
    object adsMasterInDate: TDateTimeField
      DisplayLabel = #20837#32844#26085#26399
      FieldName = 'InDate'
    end
    object adsMasterYearLength: TFloatField
      DisplayLabel = #24037#40836'('#24180')'
      FieldName = 'YearLength'
      ReadOnly = True
    end
    object adsMasterCompanyID: TStringField
      DisplayLabel = #20844#21496'ID'
      FieldName = 'CompanyID'
    end
    object adsMasterDeptID: TStringField
      DisplayLabel = #37096#38376'ID'
      FieldName = 'DeptID'
    end
    object adsMasterDeptCode: TStringField
      DisplayLabel = #37096#38376#32534#21495
      FieldName = 'DeptCode'
      Size = 50
    end
    object adsMasterDeptName: TStringField
      DisplayLabel = #37096#38376#21517#31216
      FieldName = 'DeptName'
      Size = 100
    end
    object adsMasterDeptFullName: TStringField
      DisplayLabel = #37096#38376#20840#31216
      FieldName = 'DeptFullName'
      Size = 100
    end
    object adsMasterCulture: TStringField
      DisplayLabel = #23398#21382'ID'
      FieldName = 'Culture'
    end
    object adsMasterCultureName: TStringField
      DisplayLabel = #23398#21382
      DisplayWidth = 50
      FieldName = 'CultureName'
      Size = 50
    end
    object adsMasterDuty: TStringField
      DisplayLabel = #23703#20301'ID'
      FieldName = 'Duty'
    end
    object adsMasterDutyName: TStringField
      DisplayLabel = #23703#20301
      FieldName = 'DutyName'
      Size = 50
    end
    object adsMasterWorkType: TStringField
      DisplayLabel = #24037#31181'ID'
      FieldName = 'WorkType'
    end
    object adsMasterWorkTypeName: TStringField
      DisplayLabel = #24037#31181
      FieldName = 'WorkTypeName'
      Size = 50
    end
    object adsMasterPosition: TStringField
      DisplayLabel = #32844#20301'ID'
      FieldName = 'Position'
    end
    object adsMasterPositionName: TStringField
      DisplayLabel = #32844#20301
      FieldName = 'PositionName'
      Size = 50
    end
    object adsMasterPolityVisage: TStringField
      DisplayLabel = #25919#27835#38754#35980
      FieldName = 'PolityVisage'
      Size = 30
    end
    object adsMasterMarriageState: TBooleanField
      DisplayLabel = #23130#21542
      FieldName = 'MarriageState'
    end
    object adsMasterWorkProperty: TBooleanField
      DisplayLabel = #32856#29992#24615#36136
      FieldName = 'WorkProperty'
    end
    object adsMasterHasUse: TBooleanField
      DisplayLabel = #20351#29992#21542
      FieldName = 'HasUse'
    end
    object adsMasterHasStop: TBooleanField
      DisplayLabel = #31163#32844#21542
      FieldName = 'HasStop'
    end
    object adsMasterStoper: TStringField
      DisplayLabel = #31163#32844#25805#20316#20154
      FieldName = 'Stoper'
    end
    object adsMasterStopDate: TDateTimeField
      DisplayLabel = #31163#32844#25805#20316#26102#38388
      FieldName = 'StopDate'
    end
    object adsMasterStopMemo: TStringField
      DisplayLabel = #31163#32844#35828#26126
      FieldName = 'StopMemo'
      Size = 100
    end
    object adsMasterHasSysDefine: TBooleanField
      DisplayLabel = #26159#21542#31995#32479#23450#20041
      FieldName = 'HasSysDefine'
    end
    object adsMasterHasDefault: TBooleanField
      DisplayLabel = #26159#21542#40664#35748
      FieldName = 'HasDefault'
    end
    object adsMasterHasCheck: TBooleanField
      DisplayLabel = #23457#26680#21542
      FieldName = 'HasCheck'
    end
    object adsMasterCheckTime: TDateTimeField
      DisplayLabel = #23457#26680#26102#38388
      FieldName = 'CheckTime'
    end
    object adsMasterChecker: TStringField
      DisplayLabel = #23457#26680#20154
      FieldName = 'Checker'
    end
    object adsMasterWriter: TStringField
      DisplayLabel = #39318#36755#20154
      FieldName = 'Writer'
    end
    object adsMasterWriteTime: TDateTimeField
      DisplayLabel = #39318#36755#26102#38388
      FieldName = 'WriteTime'
    end
    object adsMasterModifier: TStringField
      DisplayLabel = #20462#25913#20154
      FieldName = 'Modifier'
    end
    object adsMasterModifyTime: TDateTimeField
      DisplayLabel = #20462#25913#26102#38388
      FieldName = 'ModifyTime'
    end
    object adsMasterRemark: TStringField
      DisplayLabel = #22791#27880
      FieldName = 'Remark'
      Size = 80
    end
    object adsMasterTeamID: TStringField
      DisplayLabel = #29677#21035
      FieldName = 'TeamID'
    end
    object adsMasterRoomNo: TStringField
      DisplayLabel = #27004#25151#21495
      FieldName = 'RoomNo'
    end
    object adsMasterIntroducer: TStringField
      DisplayLabel = #20171#32461#20154
      FieldName = 'Introducer'
    end
  end
  inherited adsMasterEdit: TADODataSet
    CursorType = ctStatic
    CommandText = 'Select * from da_Employee '
    object adsMasterEditEmpID: TStringField
      DisplayLabel = #24037#21495
      FieldName = 'EmpID'
    end
    object adsMasterEditEmpName: TStringField
      DisplayLabel = #22995#21517
      FieldName = 'EmpName'
      OnChange = adsMasterEditEmpNameChange
    end
    object adsMasterEditHelperCode: TStringField
      DisplayLabel = #21161#35760#30721
      FieldName = 'HelperCode'
      Size = 10
    end
    object adsMasterEditFactoryCardNo: TStringField
      DisplayLabel = #21378#29260#21495
      FieldName = 'FactoryCardNo'
    end
    object adsMasterEditSex: TStringField
      DisplayLabel = #24615#21035
      FieldName = 'Sex'
      Size = 2
    end
    object adsMasterEditstature: TFloatField
      DisplayLabel = #36523#39640
      FieldName = 'stature'
    end
    object adsMasterEditeyesight: TFloatField
      DisplayLabel = #35270#21147
      FieldName = 'eyesight'
    end
    object adsMasterEditnation: TStringField
      DisplayLabel = #27665#26063
      FieldName = 'nation'
      Size = 10
    end
    object adsMasterEditNativePlace: TStringField
      DisplayLabel = #31821#36143
      FieldName = 'NativePlace'
      Size = 100
    end
    object adsMasterEditBirthday: TDateTimeField
      DisplayLabel = #20986#29983#26085#26399
      FieldName = 'Birthday'
    end
    object adsMasterEditIdCardNO: TStringField
      DisplayLabel = #36523#20221#35777#21495
      FieldName = 'IdCardNO'
      OnChange = adsMasterEditIdCardNOChange
      Size = 18
    end
    object adsMasterEditAddress: TStringField
      DisplayLabel = #23478#24237#22320#22336
      FieldName = 'Address'
      Size = 80
    end
    object adsMasterEditPhone: TStringField
      DisplayLabel = #32852#31995#30005#35805
      FieldName = 'Phone'
    end
    object adsMasterEditInDate: TDateTimeField
      DisplayLabel = #20837#32844#26085#26399
      FieldName = 'InDate'
    end
    object adsMasterEditCompanyID: TStringField
      DisplayLabel = #20844#21496'ID'
      FieldName = 'CompanyID'
    end
    object adsMasterEditDeptID: TStringField
      DisplayLabel = #37096#38376'ID'
      FieldName = 'DeptID'
    end
    object adsMasterEditCulture: TStringField
      DisplayLabel = #23398#21382'ID'
      FieldName = 'Culture'
    end
    object adsMasterEditDuty: TStringField
      DisplayLabel = #23703#20301'ID'
      FieldName = 'Duty'
    end
    object adsMasterEditWorkType: TStringField
      DisplayLabel = #24037#31181'ID'
      FieldName = 'WorkType'
    end
    object adsMasterEditPosition: TStringField
      DisplayLabel = #32844#20301'ID'
      FieldName = 'Position'
    end
    object adsMasterEditPolityVisage: TStringField
      DisplayLabel = #25919#27835#38754#35980
      FieldName = 'PolityVisage'
      Size = 30
    end
    object adsMasterEditMarriageState: TBooleanField
      DisplayLabel = #23130#21542
      FieldName = 'MarriageState'
    end
    object adsMasterEditWorkProperty: TBooleanField
      DisplayLabel = #32856#29992#24615#36136
      FieldName = 'WorkProperty'
    end
    object adsMasterEditImgType: TStringField
      DisplayLabel = #22270#29255#31867#22411
      FieldName = 'ImgType'
      Size = 10
    end
    object adsMasterEditHasUse: TBooleanField
      DisplayLabel = #20351#29992#21542
      FieldName = 'HasUse'
    end
    object adsMasterEditHasStop: TBooleanField
      DisplayLabel = #31163#32844#21542
      FieldName = 'HasStop'
    end
    object adsMasterEditStoper: TStringField
      DisplayLabel = #31163#32844#25805#20316#20154
      FieldName = 'Stoper'
    end
    object adsMasterEditStopDate: TDateTimeField
      DisplayLabel = #31163#32844#25805#20316#26102#38388
      FieldName = 'StopDate'
    end
    object adsMasterEditStopMemo: TStringField
      DisplayLabel = #31163#32844#35828#26126
      FieldName = 'StopMemo'
      Size = 100
    end
    object adsMasterEditHasSysDefine: TBooleanField
      DisplayLabel = #26159#21542#31995#32479#23450#20041
      FieldName = 'HasSysDefine'
    end
    object adsMasterEditHasDefault: TBooleanField
      DisplayLabel = #26159#21542#40664#35748
      FieldName = 'HasDefault'
    end
    object adsMasterEditHasCheck: TBooleanField
      DisplayLabel = #23457#26680#21542
      FieldName = 'HasCheck'
    end
    object adsMasterEditCheckTime: TDateTimeField
      DisplayLabel = #23457#26680#26102#38388
      FieldName = 'CheckTime'
    end
    object adsMasterEditChecker: TStringField
      DisplayLabel = #23457#26680#20154
      FieldName = 'Checker'
    end
    object adsMasterEditWriter: TStringField
      DisplayLabel = #39318#36755#20154
      FieldName = 'Writer'
    end
    object adsMasterEditWriteTime: TDateTimeField
      DisplayLabel = #39318#36755#26102#38388
      FieldName = 'WriteTime'
    end
    object adsMasterEditModifier: TStringField
      DisplayLabel = #20462#25913#20154
      FieldName = 'Modifier'
    end
    object adsMasterEditModifyTime: TDateTimeField
      DisplayLabel = #20462#25913#26102#38388
      FieldName = 'ModifyTime'
    end
    object adsMasterEditRemark: TStringField
      DisplayLabel = #22791#27880
      FieldName = 'Remark'
      Size = 80
    end
    object adsMasterEditTeamID: TStringField
      DisplayLabel = #29677#21035
      FieldName = 'TeamID'
    end
    object adsMasterEditRoomNo: TStringField
      DisplayLabel = #27004#25151#21495
      FieldName = 'RoomNo'
    end
    object adsMasterEditIntroducer: TStringField
      DisplayLabel = #20171#32461#20154
      FieldName = 'Introducer'
    end
    object adsMasterEditres_Culture: TStringField
      DisplayLabel = #23398#21382
      FieldKind = fkLookup
      FieldName = 'res_Culture'
      LookupDataSet = res_BaseInfo
      LookupKeyFields = 'ID'
      LookupResultField = 'Name'
      KeyFields = 'Culture'
      Lookup = True
    end
    object adsMasterEditres_Duty: TStringField
      DisplayLabel = #23703#20301
      FieldKind = fkLookup
      FieldName = 'res_Duty'
      LookupDataSet = res_BaseInfo
      LookupKeyFields = 'ID'
      LookupResultField = 'Name'
      KeyFields = 'Duty'
      Lookup = True
    end
    object adsMasterEditres_WorkType: TStringField
      DisplayLabel = #24037#31181
      FieldKind = fkLookup
      FieldName = 'res_WorkType'
      LookupDataSet = res_BaseInfo
      LookupKeyFields = 'ID'
      LookupResultField = 'Name'
      KeyFields = 'WorkType'
      Lookup = True
    end
    object adsMasterEditres_Position: TStringField
      DisplayLabel = #32844#20301
      FieldKind = fkLookup
      FieldName = 'res_Position'
      LookupDataSet = res_BaseInfo
      LookupKeyFields = 'ID'
      LookupResultField = 'Name'
      KeyFields = 'Position'
      Lookup = True
    end
    object adsMasterEditres_DeptFullName: TStringField
      DisplayLabel = #37096#38376
      FieldKind = fkLookup
      FieldName = 'res_DeptFullName'
      LookupDataSet = res_Department
      LookupKeyFields = 'DeptID'
      LookupResultField = 'DeptFullName'
      KeyFields = 'DeptID'
      Size = 100
      Lookup = True
    end
  end
  object res_BaseInfo: TADODataSet
    Active = True
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    CommandText = 'Select ID, Code, Name from da_BaseInfo'
    Parameters = <>
    Left = 176
    Top = 40
  end
  object adsDepartment: TADODataSet
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    CommandText = 
      'Select DeptID, DeptCode, DeptName, DeptFullName'#13#10'from V_da_Depar' +
      'tment'#13#10'where isnull(HasStop,0)=0'#13#10'order by DeptID'
    Parameters = <>
    Left = 176
    Top = 96
    object adsDepartmentDeptID: TStringField
      FieldName = 'DeptID'
    end
    object adsDepartmentDeptCode: TStringField
      FieldName = 'DeptCode'
    end
    object adsDepartmentDeptName: TStringField
      FieldName = 'DeptName'
      Size = 50
    end
    object adsDepartmentDeptFullName: TStringField
      FieldName = 'DeptFullName'
      Size = 100
    end
  end
  object aspGetEmpInfoByIDCardNo: TADOStoredProc
    Connection = dtmConnect.conMain
    ProcedureName = 'da_GetEmpInfoByIDCardNo;1'
    Parameters = <
      item
        Name = '@RETURN_VALUE'
        DataType = ftInteger
        Direction = pdReturnValue
        Precision = 10
        Value = Null
      end
      item
        Name = '@IDCardNo'
        Attributes = [paNullable]
        DataType = ftString
        Size = 18
        Value = Null
      end
      item
        Name = '@Birthday'
        Attributes = [paNullable]
        DataType = ftString
        Direction = pdInputOutput
        Size = 10
        Value = Null
      end
      item
        Name = '@NativePlace'
        Attributes = [paNullable]
        DataType = ftString
        Direction = pdInputOutput
        Size = 50
        Value = Null
      end
      item
        Name = '@Sex'
        Attributes = [paNullable]
        DataType = ftString
        Direction = pdInputOutput
        Size = 2
        Value = Null
      end
      item
        Name = '@ProcFlag'
        Attributes = [paNullable]
        DataType = ftInteger
        Precision = 10
        Value = Null
      end
      item
        Name = '@Msg'
        Attributes = [paNullable]
        DataType = ftString
        Direction = pdInputOutput
        Size = 500
        Value = Null
      end>
    Left = 304
    Top = 40
  end
  object adsSelect: TADODataSet
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    AfterOpen = adsMasterEditAfterOpen
    BeforePost = adsMasterEditBeforePost
    OnNewRecord = adsMasterEditNewRecord
    CommandText = 'Select * from V_da_Employee_Img where 0=1'
    EnableBCD = False
    Parameters = <>
    Left = 56
    Top = 152
  end
  object frdsSelect: TfrDBDataSet
    DataSet = adsSelect
    Left = 56
    Top = 208
  end
  object res_Department: TADODataSet
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    CommandText = 
      'Select DeptID, DeptCode, DeptName, DeptFullName'#13#10'from V_da_Depar' +
      'tment'#13#10'order by DeptID'
    Parameters = <>
    Left = 176
    Top = 168
    object StringField1: TStringField
      FieldName = 'DeptID'
    end
    object StringField2: TStringField
      FieldName = 'DeptCode'
    end
    object StringField3: TStringField
      FieldName = 'DeptName'
      Size = 50
    end
    object StringField4: TStringField
      FieldName = 'DeptFullName'
      Size = 100
    end
  end
end
